﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntranceApp
{
    class OrderLine
    {
        //fields
        private string orderline_id;
        private string name;
        private int quantity;
        private double price;
        private Material material; //ordeline desription 
        

        //properties

        public string Orderline_id { get { return orderline_id; } set { orderline_id = value; } }
        public string Name { get { return name; } set { name = value; } }
        public int Quantity { get { return quantity; } set { quantity = value; } }
        public double Price{ get { return price; } set { price = value; }}
        

            //constructor
        public OrderLine (string order_id,string name,int quantity,double price,Material material)
	    {
           
           this.name = name;
           this.quantity = quantity;
           this.price = price;
           this.material = material;

	    }
            

            //methods
            //To do ToString();

        }
    }


